package com.rxst.msg.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件表
 *
 * @author rxst
 * @email rxst@gmail.com
 * @date 2021-08-19 11:47:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@TableName("msgx_file")
public class MsgxFileEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键", notes = "主键")
    private Long id;
    /**
     * 文件id
     */
    @ApiModelProperty(value = "文件id", notes = "文件id")
    private String fileId;
    /**
     * 文件用户id
     */
    @ApiModelProperty(value = "文件用户id", notes = "文件用户id")
    private String fileUserId;
    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称", notes = "文件名称")
    private String fileName;
    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小", notes = "文件大小")
    private String fileSize;
    /**
     * 文件同步状态  0 未同步 1 已同步
     */
    @ApiModelProperty(value = "文件同步状态  0 未同步 1 已同步 ", notes = "文件同步状态  0 未同步 1 已同步 ")
    private Integer fileSync;
    /**
     * 文件录制时长
     */
    @ApiModelProperty(value = "文件录制时长", notes = "文件录制时长")
    private String fileDuration;
    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径", notes = "文件路径")
    private String fileUrl;
    /**
     * 文件录制时间
     */
    @ApiModelProperty(value = "文件录制时间", example = "2021-08-19", notes = "文件录制时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private  Date fileTranscribeTime;
    /**
     * 状态 0 启用 1 禁用
     */
    @ApiModelProperty(value = "状态 0 启用 1 禁用 ", notes = "状态 0 启用 1 禁用 ")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2021-08-19 00:00:00", notes = "创建时间" ,dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", notes = "创建人")
    private String createBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", example = "2021-08-19 00:00:00", notes = "修改时间",dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", notes = "修改人")
    private String updateBy;
    /**
     * 是否删除 0 未删除  1 删除
     */
    @ApiModelProperty(value = "是否删除 0 未删除  1 删除", notes = "是否删除 0 未删除  1 删除")
    private Integer isDelete;

}
